﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="AdminChangeLocation.aspx.vb"
    Inherits="QLThuVien.AdminChangeLocation" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">
        function HidePopup(s, e) {
            var p = window.parent;
            var popup = p.window["pc_details"];
            var refreshData = p.window["data_sach"].PerformCallback();
            popup.Hide();
            }
            function HideSuccess() {
                var seconds = 4;
                setTimeout(function () {
                    document.getElementById('successDiv').style.display = "none";
                }, seconds * 1000);


            }

      
    </script>
    <link href="../assets/css/bootstrap.css" rel="stylesheet" type="text/css" />
    <link href="../assets/css/mycss.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div>
                <table>
                    <tbody>
                        <tr>
                            <td>
                                <label class="text-danger h4">
                                    Chuyển</label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label>
                                    Kệ:</label>
                                <span class="label label-primary h4" runat="server" id="spanke"></span>
                            </td>
                            <td>
                                <label>
                                    Hàng:</label>
                                <span class="label label-primary h4" runat="server" id="spanhang"></span>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label class="text-danger h4">
                                    Sang</label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <div class="form-group">
                                    <label>
                                        Kệ:</label>
                                    <dx:ASPxComboBox ID="cb_chuyenke" runat="server" ValueType="System.String" CssClass="form-control"
                                        TextField="ke">
                                    </dx:ASPxComboBox>
                                </div>
                            </td>
                            <td>
                                <div class="form-group">
                                    <label>
                                        Hàng:</label>
                                    <dx:ASPxComboBox ID="cb_chuyenhang" runat="server" ValueType="System.String" CssClass="form-control"
                                        SelectedIndex="0">
                                        <Items>
                                            <dx:ListEditItem Text="Hàng 1" Value="H-1" />
                                            <dx:ListEditItem Text="Hàng 2" Value="H-2" />
                                            <dx:ListEditItem Text="Hàng 3" Value="H-3" />
                                            <dx:ListEditItem Text="Hàng 4" Value="H-4" />
                                            <dx:ListEditItem Text="Hàng 5" Value="H-5" />
                                        </Items>
                                    </dx:ASPxComboBox>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <dx:ASPxButton ID="bt_chuyen" runat="server" Text="Xác Nhận" CssClass="form-control btn-primary">
                                <ClientSideEvents Click="function(s,e){HideSuccess()}" />
                                </dx:ASPxButton>
                            </td>
                            <td>
                                <dx:ASPxButton ID="bt_thoatpc" runat="server" Text="Thoát" CssClass="form-control btn-danger">
                                    <ClientSideEvents Click="HidePopup" />
                                </dx:ASPxButton>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div class="alert alert-success text-center" runat="server" id="successDiv" visible="false" clientidmode="Static" >
                <dx:ASPxLabel ID="lb_mess" runat="server" Font-Bold="true">
                </dx:ASPxLabel>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
